package com.syn.michat.mapper;


import com.syn.michat.pojo.OfflineMsg;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MessageMapper {
    public void add(OfflineMsg msg);

    public List<OfflineMsg> findByReceiverId(String receiverId, int status);

    public void updateStatus(int id, int status);
}
